﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using WenSkin.Controls;

namespace WenFrame
{
    public partial class TextBoxForm : WenSkin.Forms.WenForm
    {

        public string Message { get => wenTextBox1.Text; set => wenTextBox1.Text = value; }
        public TextBoxForm(string text = "弹出输入框")
        {
            InitializeComponent();
            Text = text;
        }

        private void wenButton1_Click(object sender, EventArgs e)
        {
              DialogResult = DialogResult.OK;
        }
    }
}
